//AnnotationTest.java
package com.ylaihui.annotation4;

import java.util.ArrayList;

class Annotations<@MyAnn T>{

    public void info(@MyAnn String string) throws @MyAnn RuntimeException{

        ArrayList<@MyAnn String> list = new ArrayList<>();
        int d = (@MyAnn int)100.00;
        System.out.println(string);

    }
}

public class AnnotationTest {
    public static void main(String[] args) {

    }
}
